<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: D:/doxy/PublicAPI/ATDataCore/HATNote.h 源文件</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_52a01df1794e5beec01860bdd05aea48.html">PublicAPI</a></li><li class="navelem"><a class="el" href="../../dir_4327875b5af0f0d2cd35b102dcf8c063.html">ATDataCore</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">HATNote.h</div></div>
</div><!--header-->
<div class="contents">
<a href="../../da/d44/_h_a_t_note_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span>BEGIN_ATEC_ATDATACORE_NAMESPACE</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="../../d6/da4/struct_h_note_o_unit_object.html">   18</a></span><span class="keyword">struct  </span><a class="code hl_struct" href="../../d6/da4/struct_h_note_o_unit_object.html">HNoteOUnitObject</a> : TypeToHandler,</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span>    IAnnotationHandler,</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span>    <a class="code hl_struct" href="../../de/db2/struct_i_text_edit.html">ITextEdit</a></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span>    , ISubTypeHandlerQuery</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span>{</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span>    DEFINE_T_SUPER(TypeToHandler)</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span>        HATOBJECTR_DECLARE_MEMBERS(<a class="code hl_struct" href="../../d6/da4/struct_h_note_o_unit_object.html">HNoteOUnitObject</a>, ATDATACORE_EXPORT)</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span>    ATDATACORE_EXPORT <span class="keyword">virtual</span> <span class="keywordtype">void</span>                    _GetTypeName(WStringR <span class="keywordtype">string</span>, UInt32 desiredLength) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span>    ATDATACORE_EXPORT <span class="keyword">virtual</span> <span class="keywordtype">void</span>                    _GetDescription(HATObjectCR obj, WStringR descr, UInt32 desiredLength) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span>    ATDATACORE_EXPORT <span class="keyword">virtual</span> <span class="keywordtype">void</span>                    _GetPathDescription(HATObjectCR, WStringR, ATShowPathCP, WCharCP levelStr, WCharCP sceneStr, WCharCP groupStr, WCharCP delimiter) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span>    ATDATACORE_EXPORT <span class="keyword">virtual</span> <span class="keywordtype">void</span>                    _EditProperties(HEATObjectR objHE, PropertyContextR context) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span>    ATDATACORE_EXPORT <span class="keyword">virtual</span> StatusInt               _OnTransform(HEATObjectR, TransformInfoCR) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span>    ATDATACORE_EXPORT <span class="keyword">virtual</span> <span class="keywordtype">bool</span>                    _IsTransformGraphics(HATObjectCR, TransformInfoCR) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span>    ATDATACORE_EXPORT <span class="keyword">virtual</span> <span class="keywordtype">void</span>                    _Draw(HATObjectCR, ATViewContxtR) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span>    ATDATACORE_EXPORT <span class="keyword">virtual</span> <span class="keywordtype">void</span>                    _GetObjDisplayParams(HATObjectCR, ObjDisplayParams&amp;, <span class="keywordtype">bool</span> wantMats = <span class="keyword">false</span>) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span>    ATDATACORE_EXPORT <span class="keyword">virtual</span> StatusInt               _OnPreprocessCopy(HEATObjectR symbolEH, ObjectCopyContextP ccP) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span>    ATDATACORE_EXPORT <span class="keyword">virtual</span> IAnnotationHandlerP     _GetIAnnotationHandler(HATObjectCR)<span class="keyword">  override </span>{ <span class="keywordflow">return</span> <span class="keyword">this</span>; }</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span>    ATDATACORE_EXPORT <span class="keyword">virtual</span> <span class="keywordtype">bool</span>                    _GetAnnotationScale(<span class="keywordtype">double</span>* annotationScale, HATObjectCR <span class="keywordtype">object</span>) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span>    ATDATACORE_EXPORT <span class="keyword">virtual</span> StatusInt               _OnFenceStretch(HEATObjectR, TransformInfoCR, FenceParamsP, FenceStretchFlags) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span>    ATDATACORE_EXPORT <span class="keyword">virtual</span> StatusInt               _OnDrop(HATObjectCR objHd, ObjectSelectSetR dropGeom, DropGeometryCR geometry) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span>    ATDATACORE_EXPORT <span class="keyword">virtual</span> <span class="keywordtype">bool</span>                    _DoesSupportFields(HATObjectCR) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span>    ATDATACORE_EXPORT <span class="keyword">virtual</span> ITextPartIdPtr          _GetTextPartId(HATObjectCR, HitPathCR) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span>    ATDATACORE_EXPORT <span class="keyword">virtual</span> <span class="keywordtype">void</span>                    _GetTextPartIds(HATObjectCR, ITextQueryOptionsCR, T_ITextPartIdPtrVectorR) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span>    ATDATACORE_EXPORT <span class="keyword">virtual</span> TextBlockPtr            _GetTextPart(HATObjectCR, ITextPartIdCR) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span>    ATDATACORE_EXPORT <span class="keyword">virtual</span> ReplaceStatus           _ReplaceTextPart(HEATObjectR, ITextPartIdCR, TextBlockCR) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span>    <span class="keyword">typedef</span> xvector&lt;XPoint3d&gt; StdXPointVector;</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="../../d6/da4/struct_h_note_o_unit_object.html#aa569fca5f5abb39f58e40ffb238c7330">   64</a></span>    ATDATACORE_EXPORT <span class="keyword">static</span> ATECStatus   <a class="code hl_function" href="../../d6/da4/struct_h_note_o_unit_object.html#aa569fca5f5abb39f58e40ffb238c7330">CreateNote</a>(HEATObjectR noteObj, HEATObjectCR leaderObject, TextBlockCR text, <span class="keywordtype">bool</span> is3d, ATSceneRefR SceneRef, XPoint3dCR leaderCellOrigin);</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span> </div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"><a class="line" href="../../d6/da4/struct_h_note_o_unit_object.html#aec68bd3610ae879b39b2f57f944841c3">   81</a></span>    ATDATACORE_EXPORT <span class="keyword">static</span> ATECStatus     <a class="code hl_function" href="../../d6/da4/struct_h_note_o_unit_object.html#aec68bd3610ae879b39b2f57f944841c3">CreateNote</a>(HEATObjectR noteObj, HEATObjectR leaderObject, TextBlockCR text, DimensionStyleCR dimStyle,</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span>        <span class="keywordtype">bool</span> is3d, ATSceneRefR SceneRef, StdXPointVector <span class="keyword">const</span> &amp; noteLeaderPoints);</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span> </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"><a class="line" href="../../d6/da4/struct_h_note_o_unit_object.html#ad7e407aaf1a2f7366a0ca3df67d3a91f">   99</a></span>    ATDATACORE_EXPORT <span class="keyword">static</span> ATECStatus     <a class="code hl_function" href="../../d6/da4/struct_h_note_o_unit_object.html#ad7e407aaf1a2f7366a0ca3df67d3a91f">CreateNote</a>(HEATObjectR noteObj, HEATObjectCR leaderObject, TextBlockCR text,</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span>        <span class="keywordtype">bool</span> is3d, ATSceneRefR SceneRef, XPoint3dCR leaderCellOrigin, Symbology <span class="keyword">const</span>&amp; noteTextSymbology);</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span> </div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="../../d6/da4/struct_h_note_o_unit_object.html#a4ee3c037a1e14d74905ea7463f37a3cb">  113</a></span>    ATDATACORE_EXPORT <span class="keyword">static</span> ATECStatus     <a class="code hl_function" href="../../d6/da4/struct_h_note_o_unit_object.html#a4ee3c037a1e14d74905ea7463f37a3cb">AddToScene</a>(HEATObjectR noteObject, HEATObjectR leaderObject, ATSceneR ebimCache);</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span> </div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"><a class="line" href="../../d6/da4/struct_h_note_o_unit_object.html#a6d5668b49b8418ca36a9c054e027361e">  125</a></span>    ATDATACORE_EXPORT ATECStatus     <a class="code hl_function" href="../../d6/da4/struct_h_note_o_unit_object.html#a6d5668b49b8418ca36a9c054e027361e">GetNoteLeader</a>(HATObjectR leader, HATObjectCR noteObject);</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span>};</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno">  127</span> </div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno">  128</span>END_ATEC_ATDATACORE_NAMESPACE</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span> </div>
<div class="ttc" id="astruct_h_note_o_unit_object_html"><div class="ttname"><a href="../../d6/da4/struct_h_note_o_unit_object.html">HNoteOUnitObject</a></div><div class="ttdoc">文本单元处理器</div><div class="ttdef"><b>Definition:</b> HATNote.h:22</div></div>
<div class="ttc" id="astruct_h_note_o_unit_object_html_a4ee3c037a1e14d74905ea7463f37a3cb"><div class="ttname"><a href="../../d6/da4/struct_h_note_o_unit_object.html#a4ee3c037a1e14d74905ea7463f37a3cb">HNoteOUnitObject::AddToScene</a></div><div class="ttdeci">static ATDATACORE_EXPORT ATECStatus AddToScene(HEATObjectR noteObject, HEATObjectR leaderObject, ATSceneR ebimCache)</div><div class="ttdoc">将Note元素加入到场景中</div></div>
<div class="ttc" id="astruct_h_note_o_unit_object_html_a6d5668b49b8418ca36a9c054e027361e"><div class="ttname"><a href="../../d6/da4/struct_h_note_o_unit_object.html#a6d5668b49b8418ca36a9c054e027361e">HNoteOUnitObject::GetNoteLeader</a></div><div class="ttdeci">ATDATACORE_EXPORT ATECStatus GetNoteLeader(HATObjectR leader, HATObjectCR noteObject)</div><div class="ttdoc">获取Leader元素</div></div>
<div class="ttc" id="astruct_h_note_o_unit_object_html_aa569fca5f5abb39f58e40ffb238c7330"><div class="ttname"><a href="../../d6/da4/struct_h_note_o_unit_object.html#aa569fca5f5abb39f58e40ffb238c7330">HNoteOUnitObject::CreateNote</a></div><div class="ttdeci">static ATDATACORE_EXPORT ATECStatus CreateNote(HEATObjectR noteObj, HEATObjectCR leaderObject, TextBlockCR text, bool is3d, ATSceneRefR SceneRef, XPoint3dCR leaderCellOrigin)</div><div class="ttdoc">创建新的Note元素</div></div>
<div class="ttc" id="astruct_h_note_o_unit_object_html_ad7e407aaf1a2f7366a0ca3df67d3a91f"><div class="ttname"><a href="../../d6/da4/struct_h_note_o_unit_object.html#ad7e407aaf1a2f7366a0ca3df67d3a91f">HNoteOUnitObject::CreateNote</a></div><div class="ttdeci">static ATDATACORE_EXPORT ATECStatus CreateNote(HEATObjectR noteObj, HEATObjectCR leaderObject, TextBlockCR text, bool is3d, ATSceneRefR SceneRef, XPoint3dCR leaderCellOrigin, Symbology const &amp;noteTextSymbology)</div><div class="ttdoc">创建新的Note元素</div></div>
<div class="ttc" id="astruct_h_note_o_unit_object_html_aec68bd3610ae879b39b2f57f944841c3"><div class="ttname"><a href="../../d6/da4/struct_h_note_o_unit_object.html#aec68bd3610ae879b39b2f57f944841c3">HNoteOUnitObject::CreateNote</a></div><div class="ttdeci">static ATDATACORE_EXPORT ATECStatus CreateNote(HEATObjectR noteObj, HEATObjectR leaderObject, TextBlockCR text, DimensionStyleCR dimStyle, bool is3d, ATSceneRefR SceneRef, StdXPointVector const &amp;noteLeaderPoints)</div><div class="ttdoc">创建新的Note元素</div></div>
<div class="ttc" id="astruct_i_text_edit_html"><div class="ttname"><a href="../../de/db2/struct_i_text_edit.html">ITextEdit</a></div><div class="ttdoc">文本编辑接口</div><div class="ttdef"><b>Definition:</b> IATTxtEdit.h:100</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
